package com.capgemini.diabeo.manager;

import java.util.HashMap;
import java.util.Map;

public enum MenuStatus {

	CURRENT("current"), HOLD("hold");

	private String value;

	private static final Map<String, MenuStatus> lookup = new HashMap<String, MenuStatus>();
	static {
		for (MenuStatus value : MenuStatus.values())
			lookup.put(value.getValue(), value);
	}

	private MenuStatus(String value) {
		this.setValue(value);
	}

	public static MenuStatus get(String value) {
		return lookup.get(value);
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
